app.controller('solrController', function ($scope, $controller, solrService) {
    $controller('baseController', {$scope: $scope});//继承


    $scope.searchMap = {'keywords': ''}

    $scope.search = function () {
        solrService.search($scope.searchMap, $scope.paginationConf.currentPage,
            $scope.paginationConf.itemsPerPage).success(function (response) {
            $scope.list = response.rows;
            $scope.paginationConf.totalItems = response.total;
        })
    }
});